import { Card, useTheme } from '@aws-amplify/ui-react';
// use any CSS value
export const BackgroundStylePropExample = () => {
return (
Background Styling Example
);
};
// use a design token from the theme object
export const BackgroundThemeTokenExample = () => {
const { tokens } = useTheme();
return (
Background Styling Example
);
};
// use a design token name
export const BackgroundTokenNameExample = () => {
return (
Background Styling Example
);
};